<%@page import="java.util.Enumeration"%>
<%@page import="java.util.Date"%>
<%@page import="org.apache.naming.java.javaURLContextFactory"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    
<%@page import="java.io.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<tr>
			<td>
				<%
					Date d=new java.util.Date();
					out.write(d.toString());
				%>
			</td>
			<td>
				今天时间
			</td>
		</tr>
	</table>
	<table>
		<%
			Enumeration<String> en=request.getHeaderNames();
			while(en.hasMoreElements()){
				String key=en.nextElement();
				String value=request.getHeader(key);
				out.print("<tr><td>"+key+"</td><td>"+value+"</td></tr>");
			}
		%>
	</table>
</body>
</html>